# SPDX-License-Identifier: GPL-3.0-or-later

makeargs="UPDATED_SUBMODULES=1 CPUS=$XBMK_THREADS"
build_depend="seabios/default grub/default memtest86plus u-boot/amd64coreboot"

seavgabiosrom="elf/seabios/default/libgfxinit/vgabios.bin"

pv="payload_seabios payload_memtest payload_grub payload_grubsea"
v="initmode ubootelf grub_scan_disk uboot_config grubtree grubelf pname"
v="$v displaymode tmprom newrom payload_uboot"
eval `setvars "n" $pv`
eval `setvars "" $v`

premake="corebootpremake"
mkhelper="mkcorebootbin"
postmake="mkcoreboottar"
